package com.ahu.dao;

import com.ahu.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author: Zhang Dongwei
 * Date: 2022/5/2 14:26
 */
public interface UserMapper {
    // 根据id查询用户
    User queryUserById(@Param("id") int id);

//    更新用户
    int updateUser(User user);
}
